ElasticPress\Feature\Documents\Documents A

Total Complexity 60
Dependencies 4
Dependents 1
Total lines 584
Lines of code 270
Logical lines of code 128
Comment lines 237
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
index_request_path()
S
54 7 19
post_sync_args()
S
53 5 21
setup_document_search()
S
58 5 15
maybe_set_mime_type()
S
58 5 14
requirements_status()
S
58 4 16
maybe_set_post_status()
S
56 3 20
create_pipeline()
S
51 1 31
is_admin_ajax_search()
S
77 3 3
maybe_enable_ajax_wp_query_integration()
S
78 3 3
filter_autosuggest_options()
S
69 3 6
attachments_mapping()
S
61 2 12
filter_weightable_fields_for_post_type()
S
62 2 11
bulk_index_request_path()
S
63 2 11
setup()
S
55 1 18
get_allowed_ingest_mime_types()
S
58 1 16
filter_attachment_post_type_weights()
S
65 2 9
search_fields()
S
69 2 7
indexable_post_status()
S
70 2 6
is_media_library_ajax_enabled()
S
74 1 4
__construct()
S
66 1 8
filter_autosuggest_post_status()
S
77 1 4
post_activation()
S
82 1 3
index_attachment_post_type()
S
77 1 4
search_attachment_post_type()
S
77 1 4
output_feature_box_long()
S
75 1 5